<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Get Request Header Info</title>
  </head>
  <body>
<%

String name = null;
String value = null;

for (Enumeration e = request.getHeaderNames() ; e.hasMoreElements() ;) {
         name = (String)e.nextElement();
         value = request.getHeader(name);
%> <%=name%> : <%=value%> <%        

}

%>
</body>
</html>
